<?php 
defined('C5_EXECUTE') or die(_("Access Denied."));
$includeAssetLibrary = true;
$al = Loader::helper('concrete/asset_library');
$page	= Loader::helper("form/page_selector");
$form = Loader::helper("form");
?>
<div id="download">
	<dl id="paramters">
		<dt><?	echo $form->label("photo", t("photo")); ?></dt>
		<dd><?	echo $al->file("photo", "photo", t('Choose File'),  $download->getFileObject()); ?></dd>

		<dt><?	echo $form->label("title", t("title")); ?></dt>
		<dd><?	echo $form->text("title", $download->title, array("style" => "width: 320px")); ?></dd>

		<dt><?	echo $form->label("softwareTitle", t("software title")); ?></dt>
		<dd><?	echo $form->text("softwareTitle", $download->softwareTitle, array("style" => "width: 320px")); ?></dd>

		<dt><?	echo $form->label("software", t("software")); ?></dt>
		<dd><?	echo $al->file("software", "software", t('Choose File'), $download->getInstallerObject()); ?></dd>

		<dt><?	echo $form->label("sourceCodeTitle", t("source code title")); ?></dt>
		<dd><?	echo $form->text("sourceCodeTitle", $download->sourceCodeTitle, array("style" => "width: 320px")); ?></dd>

		<dt><?	echo $form->label("sourceCode", t("source code")); ?></dt>
		<dd><?	echo $al->file("sourceCode", "sourceCode", t('Choose File'), $download->getSourceObject()); ?></dd>

		<dt><?	echo $form->label("description", t("description")); ?></dt>
		<dd><?	echo $form->textarea("description", $download->description, array("style" => "width: 320px")); ?></dd>

		<dt><? echo $form->label("entrylink", t("entry link")); ?></dt>
		<dd><? echo $page->selectPage("pid", $download->pid); ?></dd>
	</dl>
</div>
